<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content">
		<div class="btn-group hidden-xs" id="tableToolbar" role="group">
			<button type="button" class="btn btn-outline btn-default"
				th:onclick="'javascript:add()'"
				shiro:hasPermission="tool:straightlinkmanage:add">
				<i class="glyphicon glyphicon-plus"></i>新增直链
			</button>
			<button type="button" class="btn btn-outline btn-default"
				th:onclick="'javascript:batchRemove()'"
				shiro:hasPermission="tool:straightlinkmanage:batchRemove">
				<i class="glyphicon glyphicon-trash"></i>批量删除
			</button>
		</div>
		<table class="bootstrap-table" data-mobile-responsive="true">
		</table>
	</div>
	<div th:include="include :: footer"></div>
	<script src="/rzspider/tool/straightlinkmanage/straightlinkmanage.js"
		th:src="@{/rzspider/tool/straightlinkmanage/straightlinkmanage.js}"></script>
	<script th:inline="javascript">
        var editFlag = [[${@permissionService.hasPermi('tool:straightlinkmanage:edit')}]];
        var removeFlag = [[${@permissionService.hasPermi('tool:straightlinkmanage:remove')}]];
    </script>
</body>
</html>